import Layout from "@/layout";

const shopRouter = {
  path: "/relation/list",
  component: Layout,
  redirect: "noRedirect",
  name: "relation",
  alwaysShow: true,
  hidden: false,
  meta: {
    title: "关系列表",
    abbre: "关系",
    icon: "left_menu_relation",
    navigation: "/relation",
    id: "407"
  },
  children: [
    {
      path: "/relation/list",
      component: () => import("@/views/relation/list/index"),
      name: "relation_list",
      hidden: false,
      meta: {
        title: "关系列表",
        noCache: true,
        navigation: "/relation/list",
        icon: "menu_big_data"
      }
    },
    {
      path: "/relation/user",
      component: () => import("@/views/relation/user/index"),
      name: "relation_user",
      hidden: true,
      meta: {
        title: "按用户绑定",
        noCache: true,
        navigation: "/relation/user",
        icon: "menu_big_data"
      }
    },
    {
      path: "/relation/detail",
      component: () => import("@/views/relation/list/detail"),
      name: "relation_detail",
      hidden: true,
      meta: {
        title: "查看",
        noCache: true,
        navigation: "/relation/list",
        icon: "menu_big_data"
      }
    },
  ]
};

export default shopRouter;
